
cmake_minimum_required(VERSION 3.10)  
project(hjd)  
  
set(CMAKE_CXX_STANDARD 11)  
set(CMAKE_CXX_STANDARD_REQUIRED True)  
  
# 包含头文件库文件目录  
include_directories(${PROJECT_SOURCE_DIR}/include)  
link_directories(${PROJECT_SOURCE_DIR}/lib)

# 库文件输出目录
set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib)

# 可执行文件输出目录
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)


add_subdirectory(src)
add_subdirectory(test)



